package com.example.esp8266;

public class Response {


    private String deviceType;
    private String iotId;
    private String requestId;
    private CheckFailedDataDTO checkFailedData;
    private String productKey;
    private Long gmtCreate;
    private String deviceName;
    private ItemsDTO items;

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getIotId() {
        return iotId;
    }

    public void setIotId(String iotId) {
        this.iotId = iotId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public CheckFailedDataDTO getCheckFailedData() {
        return checkFailedData;
    }

    public void setCheckFailedData(CheckFailedDataDTO checkFailedData) {
        this.checkFailedData = checkFailedData;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public Long getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Long gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public ItemsDTO getItems() {
        return items;
    }

    public void setItems(ItemsDTO items) {
        this.items = items;
    }

    public static class CheckFailedDataDTO {
    }

    public static class ItemsDTO {
        private TempDTO temp;
        private HumiDTO humi;
        private LedDTO led;

        public TempDTO getTemp() {
            return temp;
        }

        public void setTemp(TempDTO temp) {
            this.temp = temp;
        }

        public HumiDTO getHumi() {
            return humi;
        }

        public void setHumi(HumiDTO humi) {
            this.humi = humi;
        }

        public LedDTO getLed() {
            return led;
        }

        public void setLed(LedDTO led) {
            this.led = led;
        }

        public static class TempDTO {
            private Integer value;
            private Long time;

            public Integer getValue() {
                return value;
            }

            public void setValue(Integer value) {
                this.value = value;
            }

            public Long getTime() {
                return time;
            }

            public void setTime(Long time) {
                this.time = time;
            }
        }

        public static class HumiDTO {
            private Integer value;
            private Long time;

            public Integer getValue() {
                return value;
            }

            public void setValue(Integer value) {
                this.value = value;
            }

            public Long getTime() {
                return time;
            }

            public void setTime(Long time) {
                this.time = time;
            }
        }

        public static class LedDTO {
            private Integer value;
            private Long time;

            public Integer getValue() {
                return value;
            }

            public void setValue(Integer value) {
                this.value = value;
            }

            public Long getTime() {
                return time;
            }

            public void setTime(Long time) {
                this.time = time;
            }
        }
    }
}
